package com.yc.cloud.openai.portal.dto.request;

import com.yc.cloud.openai.portal.enums.GPTChatProvider;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class GptDatasetCreateParam {

    @Schema(description = "名称", required = true)
    @NotEmpty(message = "名称不能为空")
    @Size(max = 50, message = "名称不能超过50个字符")
    private String name;

    @Schema(description = "描述")
    @Size(max = 255, message = "描述不能超过255个字符")
    private String description;

    @Schema(description = "provider", hidden = true)
    private String provider = GPTChatProvider.FASTGPT.getKey();

}
